import { fetch } from '@/little/fetch';

export const getOrderList = (args = {}) => fetch.get('/v1/order/basic', args);
export const getOrderInfo = (id) => fetch.get(`/v1/order/basic/${id}`);
export const unifyOrder = (type, args = {}) => fetch.post(`/v1/order/basic/${type}`, { ...args });
export const setOrder = (id, args = {}) => fetch.put(`/v1/order/basic/${id}`, args);
